for (let i = 0; i <= 10; i++) {
  console.log(i);
}

// challenge for loop

let totalSum1 = 0;

// for (let counter = 2; counter <= 100; counter += 2) {
//   totalSum1 += counter;
// }

for (let counter = 20; counter >= 1; counter--) {
  // totalSum1 += counter;
  console.log(counter);
}

// console.log(`Average:${totalSum1 / 50}`);
